package factory_method_pattern.exercise.exercise1;

/**
 * 银行卡支付
 * @author ricejson
 */
public class BankPayment extends Payment {
    @Override
    public void pay(double amount) {
        System.out.println("使用银行卡支付了" + amount + "元");
    }
}
